#include <iostream>
#include <unordered_map>

using namespace std;


bool canConstruct(string ransomNote, string magazine) 
{
    if (ransomNote.size() > magazine.size()) 
        return false;
    
    vector<int> cnt(26);
    for (auto& c : magazine)
        cnt[c - 'a']++;
        
    for (auto& c : ransomNote) 
    {
        cnt[c - 'a']--;
        if (cnt[c - 'a'] < 0) 
            return false;
    }
    return true;
}




int main()
{
	string s1 = "aa";
	string s2 = "aab";
	if (canConstruct(s1, s2))
		cout << "TRUE" << endl;
	else
		cout << "FALSE" << endl;
	return 0;
}